<?php

namespace app\common\command;

use think\console\Command;
use think\console\Input;
use think\console\input\Argument;
use think\console\input\Option;
use think\console\Output;


/**
 * 定时任务-弃用
 * Class Crontab
 */
class TestNew extends Command
{
    protected function configure()
    {
        $this->setName('test_new')
            ->addArgument('id', Argument::REQUIRED | Argument::IS_ARRAY, 'seed the id')
            ->addOption('name', null, Option::VALUE_REQUIRED, '复选框字段后缀', null)
            ->setDescription('测试定时任务');
    }

    protected function execute(Input $input, Output $output)
    {
        $id = $input->getArgument('id');
        $name = $input->getOption('name');
    }




}